﻿package com.ease.model
{
	import mx.collections.ArrayCollection;

	[Bindable]
	[RemoteClass(alias="com.ease.model.DatabaseTable")]
	
	public class DatabaseTable
	{
		public static const TABLE_NAME:String="TABLE_NAME";
		public static const COMMENTS:String="COMMENTS";

		private var _tableName:String;
		private var _owner:String;
		private var _comments:String;
		private var _databaseColumns:mx.collections.ArrayCollection;

		public function DatabaseTable()
		{
		}

		public function get tableName():String
		{
			return _tableName;
		}

		public function set tableName(value:String):void
		{
			_tableName = value;
		}

		public function get owner():String
		{
			return _owner;
		}

		public function set owner(value:String):void
		{
			_owner = value;
		}

		public function get comments():String
		{
			return _comments;
		}

		public function set comments(value:String):void
		{
			_comments = value;
		}

		public function get databaseColumns():mx.collections.ArrayCollection
		{
			return _databaseColumns;
		}

		public function set databaseColumns(value:mx.collections.ArrayCollection):void
		{
			_databaseColumns = value;
		}
	}
}